Sets the target directory on the server for uploaded files, and can be either a relative or absolute path.
The default directory is specified in server property Ufs.pdfDirectoryName (configured using the server administration application).
If set to null, the default value will be used.
In general, it is easier to always use a forward slash (/) as a path separator. If a backslash is used it must be escaped - see second
example below.
Javascript examples:
var opts1 = new UploadOptions();
opts1.directory = "C:/temp";
form.uploadFileFromBrowser(opts1);
var opts2 = new UploadOptions();
opts2.directory = "C:\\temp";
form.uploadFileFromBrowser(opts2);
Ufs.pdfDirectoryName(configured using the server administration application). If set tonull, the default value will be used.In general, it is easier to always use a forward slash (/) as a path separator. If a backslash is used it must be escaped - see second example below.
Javascript examples: